import time





now_time = time.strftime("%Y-%m-%d %A %H:%M", time.localtime())
today_weekday = time.strftime("%A", time.localtime())
print("当前时间是：",now_time)
print("今天星期几：",today_weekday)
print("-"*50)

user_data = "baobao"
password_data = "123456"
has_vip = str(input("是否为VIP？ 请输入是或者否\n"))

if has_vip =="是":
    print("您是VIP噢！")
    count = 10

else:
    print("啊噢您不是VIP噢！")
    count = 5

while True:
    username = input("请输入正确的账号")
    password = input("请输入正确的密码")
    count -=1

    if username == user_data:
        if password == password_data:
            print("您的账号密码正确，登录成功啦，欢迎",username,"使用噢~")
            break
        else:
            if count == 0:
                print("怎么回事？您的账号已经被锁定了，请五分钟之后重新尝试！")
                break
            else:
                print("您的账号或密码错误，请重新输入，您还有",count,"次机会！")
    else:
        if count == 0:
            print("怎么回事？您的账号已经被锁定了，请五分钟之后重新尝试！")
            break
        else:
            print("您的账号或密码错误，请重新输入，您还有", count, "次机会！")


    if today == "Monday":
        print("今天有两节课，早八的星期一，要加油！")
    elif today == "Tuesday":

        print("今天有三节课，早八英语，别打瞌睡了！")

    elif today == "Wednesday":
        print("今天就这节课噢~")
    elif today == "Thursday":
        print("今天是满课的一天！加油！")
    elif today == "Friday":
        print("终于到星期五啦！可以适合休息啦！")
    else:
        print('今天没课噢，好好休息，也别忘了完成学习任务噢~')

        day_of_week = str(input("您想查询哪天的课呢？Monday,Tuesday,Wednesday,Thursday,Friday,Saturday or Sunday\n"))
        if day_of_week == "Monday":
            print("8:00-9:30 排球 西区排球场")
            print("9:45-12:00 python语言 2实203")
            print("早八的星期一，要加油！")
        elif day_of_week == "Tuesday":
            print("8:00-9:30 大英 10-203")
            print("9：45-12：00 创业基础 1-205")
            print("14:30-15:55 新媒体时代的新闻评论 3实206")
            print("早八英语，别打瞌睡了！")
        elif day_of_week == "Wednesday":
            print("9:45-12:00 融合新闻学 新综合楼612")
            print("今天就这节课噢~也要记得学习，别偷懒")
        elif day_of_week == "Thursday":
            print("8:00-9:30 毛概实践 7-401")
            print("14：30-15：55 广告文案与写作 1-303")
            print("16：10-17：35 大英 10-202")
            print("18:45-20:55 毛概理论 9-201")
            print("今天是满课的一天！加油！")
        elif day_of_week == "Friday":
            print("8:00-9:30 AI课程 新综合楼612")
            print("终于到星期五啦！可以适合休息啦！")
else:
            print("今天没课噢，好好休息，也别忘了完成学习任务噢~")